# 4-4 写出下述程序的运行结果
lst = [23,56,8,900,24]
print(lst[-2])
print(lst[1:4])
print(lst[::2])
print(lst[::-1])
# 运行结果
# [56, 8, 900]
# [23, 8, 24]
# [24, 900, 8, 56, 23]